Optimal. Leaf size=62 \[ \frac {2 \sqrt {a+b \sin (e+f x)} E\left (\frac {1}{2} \left (e+f x-\frac {\pi }{2}\right )|\frac {2 b}{a+b}\right )}{f \sqrt {\frac {a+b \sin (e+f x)}{a+b}}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 62, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {2655, 2653} \[ \frac {2 \sqrt {a+b \sin (e+f x)} E\left (\frac {1}{2} \left (e+f x-\frac {\pi }{2}\right )|\frac {2 b}{a+b}\right )}{f \sqrt {\frac {a+b \sin (e+f x)}{a+b}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2653
Rule 2655
Rubi steps
\begin {align*} \int \sqrt {a+b \sin (e+f x)} \, dx &=\frac {\sqrt {a+b \sin (e+f x)} \int \sqrt {\frac {a}{a+b}+\frac {b \sin (e+f x)}{a+b}} \, dx}{\sqrt {\frac {a+b \sin (e+f x)}{a+b}}}\\ &=\frac {2 E\left (\frac {1}{2} \left (e-\frac {\pi }{2}+f x\right )|\frac {2 b}{a+b}\right ) \sqrt {a+b \sin (e+f x)}}{f \sqrt {\frac {a+b \sin (e+f x)}{a+b}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.07, size = 61, normalized size = 0.98 \[ -\frac {2 \sqrt {a+b \sin (e+f x)} E\left (\frac {1}{4} (-2 e-2 f x+\pi )|\frac {2 b}{a+b}\right )}{f \sqrt {\frac {a+b \sin (e+f x)}{a+b}}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.50, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\sqrt {b \sin \left (f x + e\right ) + a}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {b \sin \left (f x + e\right ) + a}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 1.42, size = 239, normalized size = 3.85 \[ -\frac {2 \left (a -b \right ) \sqrt {\frac {a +b \sin \left (f x +e \right )}{a -b}}\, \sqrt {-\frac {\left (\sin \left (f x +e \right )-1\right ) b}{a +b}}\, \sqrt {-\frac {\left (1+\sin \left (f x +e \right )\right ) b}{a -b}}\, \left (\EllipticE \left (\sqrt {\frac {a +b \sin \left (f x +e \right )}{a -b}}, \sqrt {\frac {a -b}{a +b}}\right ) a +\EllipticE \left (\sqrt {\frac {a +b \sin \left (f x +e \right )}{a -b}}, \sqrt {\frac {a -b}{a +b}}\right ) b -a \EllipticF \left (\sqrt {\frac {a +b \sin \left (f x +e \right )}{a -b}}, \sqrt {\frac {a -b}{a +b}}\right )-\EllipticF \left (\sqrt {\frac {a +b \sin \left (f x +e \right )}{a -b}}, \sqrt {\frac {a -b}{a +b}}\right ) b \right )}{b \cos \left (f x +e \right ) \sqrt {a +b \sin \left (f x +e \right )}\, f} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {b \sin \left (f x + e\right ) + a}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 6.87, size = 55, normalized size = 0.89 \[ \frac {2\,\mathrm {E}\left (\frac {e}{2}-\frac {\pi }{4}+\frac {f\,x}{2}\middle |\frac {2\,b}{a+b}\right )\,\sqrt {a+b\,\sin \left (e+f\,x\right )}}{f\,\sqrt {\frac {a+b\,\sin \left (e+f\,x\right )}{a+b}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {a + b \sin {\left (e + f x \right )}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________